Usamos cookies para melhorar sua experiência no site.
Ao continuar navegando, você aceita nossa política de cookies.


Criar Conta

• SERVER ONLINE •
Pbotwars.com.br | 8.60

Pbot Wars OTC - Scripts

 Pbot Wiki by ADM Leandro




Spell Healling and Item Healling and bp Close Você precisa deixar essas configurações no HealBot, para bot heallar usando itens com as backpack fechadas...

You need to set these configurations in HealBot, so that the bot can heal using items with the backpacks closed...

Necesitas configurar estas opciones en HealBot, para que el bot pueda curar usando ítems con las mochilas cerradas...
./images/nobpoepn.gif






./images/exori gauge.gif

Script de icone que renova automaticamente Exori Gauge



Copied!

local exoriIcon = addIcon("exoriI", {item=3209, text="Gauge", switchable=false, moveable=true}, function()
exorigauge.setOn(not exorigauge.isOn())
end)
exoriIcon:setSize({height=80, width=40})
exoriIcon.text:setFont('verdana-11px-rounded')

-- Adicione aqui suas configurações de posição (x, y)
local x, y = 205, 280 -- Exemplo: ajuste para a posição desejada

-- Aplicando a posição ao ícone
exoriIcon:breakAnchors()
exoriIcon:move(x, y)

exorigauge = macro(1000, function()
if not hasPartyBuff() then
say("exori gauge")
end
end)

macro(50, function()
if exorigauge.isOn() then
exoriIcon.text:setColoredText({"Exori\ngauge\n", "white", "ON", "green"})
else
exoriIcon.text:setColoredText({"Exori\ngauge\n", "white", "OFF", "red"})
end
end)

./images/dore gauge.gif

Script de icone que renova automaticamente Dore Gauge



Copied!

local exoriIcon = addIcon("exoriI", {item=3209, text="Gauge", switchable=false, moveable=true}, function()
exorigauge.setOn(not exorigauge.isOn())
end)
exoriIcon:setSize({height=80, width=40})
exoriIcon.text:setFont('verdana-11px-rounded')-- Adicione aqui suas configurações de posição (x, y)
local x, y = 205, 280 -- Exemplo: ajuste para a posição desejada-- Aplicando a posição ao ícone
exoriIcon:breakAnchors()
exoriIcon:move(x, y)exorigauge = macro(1000, function()
if not hasPartyBuff() then
say("dore gauge")
end
end)
macro(50, function()
if exorigauge.isOn() then
exoriIcon.text:setColoredText({"Dore\ngauge\n", "white", "ON", "green"})
else
exoriIcon.text:setColoredText({"Dore\ngauge\n", "white", "OFF", "red"})
end
end)




Script de auto folow sobe e desce escada, basta colocar o nome do player que quer seguir.
./images/auto follow.gif





Copied!

-- Função auxiliar para usar o tile superior
local function useTopThingAtPosition(x, y, z)
local tile = g_map.getTile({x = x, y = y, z = z})
if tile then
local topThing = tile:getTopUseThing()
if topThing then
g_game.use(topThing)
end
end
end

-- Inicialização
Follow = macro(1000, "Follow", function() end)
UI.Label("Follow Player:")
addTextEdit("playerToFollow", storage.followLeader or "Heeey", function(widget, text)
storage.followLeader = text
end)

-- Função principal para seguir jogador
onCreaturePositionChange(function(creature, newPos, oldPos)
if not Follow.isOn() then return end

local followLeaderName = storage.followLeader
local followLeaderCreature = getCreatureByName(followLeaderName)

if creature:getName() == player:getName() and not followLeaderCreature and newPos.z > oldPos.z then
say('exani tera')
for i = -1, 1 do
for j = -1, 1 do
useTopThingAtPosition(posx() + i, posy() + j, posz())
end
end
elseif creature:getName() == followLeaderName then
if newPos == nil then
schedule(200, function()
autoWalk(oldPos)
end)
schedule(1000, function()
for i = -1, 1 do
for j = -1, 1 do
useTopThingAtPosition(posx() + i, posy() + j, posz())
end
end
end)
elseif oldPos.z == newPos.z then
schedule(300, function()
useTopThingAtPosition(oldPos.x, oldPos.y, oldPos.z)
end)
autoWalk({x = oldPos.x, y = oldPos.y, z = oldPos.z})
else
for i = 1, 6 do
schedule(i * 200, function()
autoWalk(oldPos)
if getDistanceBetween(pos(), oldPos) == 0 and (posz() > newPos.z and not getCreatureByName(followLeaderName)) then
say('exani tera')
end
end)
end
useTopThingAtPosition(newPos.x, newPos.y - 1, newPos.z)
end
end
end)




Script de AUTO HASTE SCRIPT AUTO HASTE (Editar spell dentro do jogo)
./images/otc_hast.png





Copied!


UI.Separator()
UI.Label("Haste Spell")
UI.TextEdit(storage.hasteSpell or "utani hur", function(widget, newText)
storage.hasteSpell = newText
end)
macro(500, "haste", function()
if hasHaste() then return end
if TargetBot then
TargetBot.saySpell(storage.hasteSpell) -- sync spell with targetbot if available
else
say(storage.hasteSpell)
end
end)
UI.Separator()




Script de ATTACK ALL Atack allmonsters in screen / ataca todos monstros da tela com distancia no max 2 sqms
./images/attackallmonsters.png





Copied!


macro(500, "Attack ALL Monsters", function()
local distanceAtk = 2 -- distância máxima de sqm que vai atacar os monstros
local hpParaKill = 100 -- só mata monstros com 100% de hp
local spectators = g_map.getSpectators(g_game.getLocalPlayer():getPosition(), false)
for k,v in pairs(spectators) do
if not g_game.isAttacking() and not v:isPlayer() and not v:isNpc()
and getDistanceBetween(pos(), v:getPosition()) <= distanceAtk
and v:getHealthPercent() <= hpParaKill then
g_game.attack(v)
end
end
end)

Top 10 Experience

27/04/2024 https://pbotwars.com.br
*/